package com.xtxb.app.rmq.api;

import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.PostConstruct;

public class AbtractAPI {
    @Autowired
    private ResourceConfig config;

    @PostConstruct
    public void register(){
        config.register(this);
    }
}
